package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Rooms;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.dto.vo.RoomNumber4BuildingsVO;
import com.example.mybatisplus.model.dto.vo.Stats4RoomsVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2024-07-16
 */
public interface RoomsMapper extends BaseMapper<Rooms> {

    List<Stats4RoomsVO> getRoomById();

    List<RoomNumber4BuildingsVO> getRoomByBuilding();
}
